__author__ = 'East'

import copy

person =['name', ['saving', 100]]

# 浅复制，
p1 = copy.copy(person)
p2 = person[:]
p3 = list(person)

# 举例，两个人是夫妻，名字可以修改,存款是共同所有
p1 = person[:]
p2 = person[:]
p1[0] = 'alex'
p2[0] = 'fengjie'
print(p1)
print(p2)

p1[1][1] = 50
print(p1)
print(p2)

